<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var fileList = [
				{name:'1xx.png',path:'1.png'},
				{name:'2xx.png',path:'1.png'},
				{name:'xxx.png',path:'1.png'}
			]
			function download(file){
				var a = document.createElement('a')
				a.setAttribute('href',file.path)
				a.setAttribute('download',file.name)
				document.body.appendChild(a)
				a.click()
				document.body.removeChild(a)
			}
			fileList.map(item=>{
				download(item)
			})
		</script>
	</body>
</html>
